import { Server } from "restify";

import { LoginController } from '@src/apps/account/controllers/login.controller';
import { entities as AccountEntities } from "@src/apps/account/entities"
export const app = (
    server: Server,
    entities: Function[],
    initializations: Function[]
) => {
    const loginController = new LoginController();

    server.post(
        "/account/login", loginController.login
    );
    entities.push(...AccountEntities);
    // initializations.push();
}